package tech.yixiyun.framework.kuafu.component.register;


import tech.yixiyun.framework.kuafu.domain.DomainContext;
import tech.yixiyun.framework.kuafu.domain.annotation.Domain;

public class DomainComponentRegistrar implements IComponentRegistrar {
    @Override
    public void register(Class clazz) {

        if (clazz.isAnnotationPresent(Domain.class)) {
            DomainContext.register(clazz);
        }
    }
}
